package com.tanhua.dubbo.mappers;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tanhua.model.domain.SoulQuestion;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.ArrayList;

@Mapper
public interface SoulQuestionMapper extends BaseMapper<SoulQuestion> {

    @Select("select distinct questionnaire_id from tb_soul_question where id in (#{substring})")
    ArrayList<Long> getQuestionnaire(String substring);
}